﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CatMouseMaster
{
    class Mouse: Living
    {
        public event ActionEvent escapeEvent;
        public Mouse(string name):base(name) { }
        public void escape()
        {
            Console.WriteLine("{0} 吱吱叫",name);
            if (escapeEvent != null) escapeEvent();
        }
    }
}
